import { makeAutoObservable } from "mobx"//可观测的

//引入子模块
import Author from "./ContentManagement/Author";
import Medal from "./ContentManagement/Medal";
import content from "./ContentManagement/content";
import contentLabel from "./ContentManagement/contentLabel";
import coupon from "./Coupon/coupon";
import channel from "./Channel/channel";
import Role from './Role';
import memberShip from "./MembershipManagement/memberShip";
import memberLabell from './MembershipManagement/memberLabell';
import market from "./Market/market";
import AuthorManagement from './ContentManagement/AuthorManagement'
import JiaMenggl from "./JiaMeng/JiaMenggl";
const store=()=> {
    return makeAutoObservable({
        //作者管理
        Author,
        //勋章管理
        Medal,
        //内容管理
        content,
        //内容标签
        contentLabel,
        // 角色
        Role,
        //会员管理
        memberShip,
        //会员标签
        memberLabell,
        //优惠券
        coupon,
        //频道
        channel,
        market,
        AuthorManagement,
        JiaMenggl

    })
}

export default store();